package hcn.protocol.ods.electronicInvoice.req;


import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * @Author:FangZhiyi
 * @Description
 * @Data Created in 2020/7/3 15:47
 * @Moddified By:
 */
@XmlRootElement(name = "MsgBody")
public class GetEBillPicUrlReq implements Serializable {
    private String organizationId;//医院代码
    private String billBatchCode;//电子票据代码
    private String billNo;//电子票据号码
    private String random;//电子校验码
    private String channelMode = "1";//渠道接入方式(1:默认；2:支付宝，3:微信，4:App)
    private String fromType;//来源


    @XmlElement(name = "VisitOrganization")
    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    @XmlElement(name = "BillBatchCode")
    public String getBillBatchCode() {
        return billBatchCode;
    }

    public void setBillBatchCode(String billBatchCode) {
        this.billBatchCode = billBatchCode;
    }

    @XmlElement(name = "BillNo")
    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }

    @XmlElement(name = "Random")
    public String getRandom() {
        return random;
    }

    public void setRandom(String random) {
        this.random = random;
    }

    public String getChannelMode() {
        return channelMode;
    }

    public void setChannelMode(String channelMode) {
        this.channelMode = channelMode;
    }

    public String getFromType() {
        return fromType;
    }

    public void setFromType(String fromType) {
        this.fromType = fromType;
    }

    @Override
    public String toString() {
        return "{\"GetEBillPicUrlReq\":{"
                + "\"billBatchCode\":\""
                + billBatchCode + '\"'
                + ",\"billNo\":\""
                + billNo + '\"'
                + ",\"random\":\""
                + random + '\"'
                + ",\"channelMode\":\""
                + channelMode + '\"'
                + ",\"fromType\":\""
                + fromType + '\"'
                + "}}";

    }
}
